﻿@{
    Layout = "~/Views/Shared/_LayoutAdmin.cshtml";
}
<div class="heading">
                    <h1>Orders</h1>
                    <div class="buttons">
                        <a class="button" onclick="$('#form').attr('action', '#'); $('#form').attr('target', '_blank'); $('#form').submit();">Print Invoice</a>
    <a class="button" onclick="location = '#'">Insert</a>
    <a class="button" onclick="$('#form').attr('action', '#'); $('#form').attr('target', '_self'); $('#form').submit();">Delete</a>
                    </div><!--End Buttons-->
                </div><!--End Heading-->
                
                <div class="content">
                    <form id="form" enctype="multipart/form-data" method="post" action=""/>
                        <table class="list">
                            <thead>
                                <tr>
                                    <td width="1" style="text-align: center;">
                                        <input type="checkbox" onclick="$('input[name*=\'selected\']').attr('checked', this.checked);"/>
                                    </td>
                                    <td class="right">
                                        <a class="desc" href="#">Order ID</a>
                                    </td>
                                    <td class="left">
                                        <a href="#">Customer</a>
                                    </td>
                                    <td class="left">
                                        <a href="#">Status</a>
                                    </td>
                                    <td class="right">
                                        <a href="#">Total</a>
                                    </td>
                                    <td class="left">
                                        <a href="#">Date Added</a>
                                    </td>
                                    <td class="left">
                                         <a href="#">Date Modified</a>
                                    </td>
                                    <td class="right">Action</td>
                                </tr>
                            </thead><!--End thread-->
                            <tbody>
                                <tr class="filter">
                                    <td></td>
                                    <td align="right">
                                        <input type="text" style="text-align: right;" size="4" value="" name="filter_order_id"/>
                                    </td>
                                    <td>
                                        <input class="ui-autocomplete-input" type="text" value="" name="filter_customer" autocomplete="off" role="textbox" aria-autocomplete="list" aria-haspopup="true"/>
                                    </td>
                                    <td>
                                        <select name="filter_order_status_id">
                                            <option value="*"></option>
                                            <option value="0">Missing Orders</option>
                                            <option value="7">Canceled</option>
                                            <option value="9">Canceled Reversal</option>
                                            <option value="13">Chargeback</option>
                                            <option value="5">Complete</option>
                                            <option value="8">Denied</option>
                                            <option value="14">Expired</option>
                                            <option value="10">Failed</option>
                                            <option value="1">Pending</option>
                                            <option value="15">Processed</option>
                                            <option value="2">Processing</option>
                                            <option value="11">Refunded</option>
                                            <option value="12">Reversed</option>
                                            <option value="3">Shipped</option>
                                            <option value="16">Voided</option>
                                         </select>
                                    </td>
                                    <td align="right">
                                        <input type="text" style="text-align: right;" size="4" value="" name="filter_total"/>
                                    </td>
                                    <td>
                                        <input id="dp1333679290142" class="date hasDatepicker" type="text" size="12" value="" name="filter_date_added"/>
                                    </td>
                                    <td>
                                        <input id="dp1333679290143" class="date hasDatepicker" type="text" size="12" value="" name="filter_date_modified"/>
                                    </td>
                                    <td align="right">
                                        <a class="button" onclick="filter();">Filter</a>
                                     </td>
                                </tr><!--End fillter-->
                                
                      <!------Data----------------------------->
                                
                                 <tr>
                                        <td style="text-align: center;">
                                            <input type="checkbox" value="1288" name="selected[]"/>
                                        </td>
                                        <td class="right">1288</td>
                                        <td class="left">Tran Minh Tuan</td>
                                        <td class="left">Pending</td>
                                        <td class="right">$127.38</td>
                                        <td class="left">05/04/2012</td>
                                        <td class="left">05/04/2012</td>
                                        <td class="right">[<a href="#">View</a>] [<a href="#">Edit</a>]</td>
                                </tr>
                                <tr>
                                    <td style="text-align: center;">
                                        <input type="checkbox" value="1289" name="selected[]"/>
                                    </td>
                                        <td class="right">1289</td>
                                        <td class="left">Nguyen Can Quang</td>
                                        <td class="left">Pending</td>
                                        <td class="right">$105.00</td>
                                        <td class="left">05/04/2012</td>
                                        <td class="left">05/04/2012</td>
                                        <td class="right">[<a href="#">View</a>] [<a href=#">Edit</a>]</td>
                                 </tr>
                                 <tr>
                                        <td style="text-align: center;">
                                            <input type="checkbox" value="1288" name="selected[]">
                                        </td>
                                        <td class="right">1288</td>
                                        <td class="left">Pham QUoc Trung</td>
                                        <td class="left">Pending</td>
                                        <td class="right">$127.38</td>
                                        <td class="left">05/04/2012</td>
                                        <td class="left">05/04/2012</td>
                                        <td class="right">[<a href="#">View</a>] [<a href="#">Edit</a>]</td>
                                </tr>
                                 <tr>
                                    <td style="text-align: center;">
                                        <input type="checkbox" value="1289" name="selected[]">
                                    </td>
                                        <td class="right">1289</td>
                                        <td class="left">Vu Minh Thong</td>
                                        <td class="left">Pending</td>
                                        <td class="right">$105.00</td>
                                        <td class="left">05/04/2012</td>
                                        <td class="left">05/04/2012</td>
                                        <td class="right">[<a href="#">View</a>] [<a href=#">Edit</a>]</td>
                                 </tr>
                                 <tr>
                                        <td style="text-align: center;">
                                            <input type="checkbox" value="1288" name="selected[]"/>
                                        </td>
                                        <td class="right">1288</td>
                                        <td class="left">Ngo Minh Tri</td>
                                        <td class="left">Pending</td>
                                        <td class="right">$127.38</td>
                                        <td class="left">05/04/2012</td>
                                        <td class="left">05/04/2012</td>
                                        <td class="right">[<a href="#">View</a>] [<a href="#">Edit</a>]</td>
                                </tr>
                                <tr>
                                        <td style="text-align: center;">
                                            <input type="checkbox" value="1288" name="selected[]"/>
                                        </td>
                                        <td class="right">1288</td>
                                        <td class="left">Pham Hoai Nam</td>
                                        <td class="left">Pending</td>
                                        <td class="right">$127.38</td>
                                        <td class="left">05/04/2012</td>
                                        <td class="left">05/04/2012</td>
                                        <td class="right">[<a href="#">View</a>] [<a href="#">Edit</a>]</td>
                                </tr>
                                <tr>
                                    <td style="text-align: center;">
                                        <input type="checkbox" value="1289" name="selected[]"/>
                                    </td>
                                        <td class="right">1289</td>
                                        <td class="left">Dinh Ngoc Minh</td>
                                        <td class="left">Pending</td>
                                        <td class="right">$105.00</td>
                                        <td class="left">05/04/2012</td>
                                        <td class="left">05/04/2012</td>
                                        <td class="right">[<a href="#">View</a>] [<a href=#">Edit</a>]</td>
                                 </tr>
                                 <tr>
                                        <td style="text-align: center;">
                                            <input type="checkbox" value="1288" name="selected[]">
                                        </td>
                                        <td class="right">1288</td>
                                        <td class="left">Pham QUoc Trung</td>
                                        <td class="left">Pending</td>
                                        <td class="right">$127.38</td>
                                        <td class="left">05/04/2012</td>
                                        <td class="left">05/04/2012</td>
                                        <td class="right">[<a href="#">View</a>] [<a href="#">Edit</a>]</td>
                                </tr>
                                 <tr>
                                    <td style="text-align: center;">
                                        <input type="checkbox" value="1289" name="selected[]">
                                    </td>
                                        <td class="right">1289</td>
                                        <td class="left">Tran Minh Huy</td>
                                        <td class="left">Pending</td>
                                        <td class="right">$105.00</td>
                                        <td class="left">05/04/2012</td>
                                        <td class="left">05/04/2012</td>
                                        <td class="right">[<a href="#">View</a>] [<a href=#">Edit</a>]</td>
                                 </tr>
                                 <tr>
                                        <td style="text-align: center;">
                                            <input type="checkbox" value="1288" name="selected[]"/>
                                        </td>
                                        <td class="right">1288</td>
                                        <td class="left">Ngo Van Quang</td>
                                        <td class="left">Pending</td>
                                        <td class="right">$127.38</td>
                                        <td class="left">05/04/2012</td>
                                        <td class="left">05/04/2012</td>
                                        <td class="right">[<a href="#">View</a>] [<a href="#">Edit</a>]</td>
                                </tr>
                                 <tr>
                                        <td style="text-align: center;">
                                            <input type="checkbox" value="1288" name="selected[]"/>
                                        </td>
                                        <td class="right">1288</td>
                                        <td class="left">Ly Minh Hung</td>
                                        <td class="left">Pending</td>
                                        <td class="right">$127.38</td>
                                        <td class="left">05/04/2012</td>
                                        <td class="left">05/04/2012</td>
                                        <td class="right">[<a href="#">View</a>] [<a href="#">Edit</a>]</td>
                                </tr>
                                <tr>
                                    <td style="text-align: center;">
                                        <input type="checkbox" value="1289" name="selected[]"/>
                                    </td>
                                        <td class="right">1289</td>
                                        <td class="left">Ngo Trong Minh</td>
                                        <td class="left">Pending</td>
                                        <td class="right">$105.00</td>
                                        <td class="left">05/04/2012</td>
                                        <td class="left">05/04/2012</td>
                                        <td class="right">[<a href="#">View</a>] [<a href=#">Edit</a>]</td>
                                 </tr>
                                 <tr>
                                        <td style="text-align: center;">
                                            <input type="checkbox" value="1288" name="selected[]">
                                        </td>
                                        <td class="right">1288</td>
                                        <td class="left">Vu Minh Hung</td>
                                        <td class="left">Pending</td>
                                        <td class="right">$127.38</td>
                                        <td class="left">05/04/2012</td>
                                        <td class="left">05/04/2012</td>
                                        <td class="right">[<a href="#">View</a>] [<a href="#">Edit</a>]</td>
                                </tr>
                                 <tr>
                                    <td style="text-align: center;">
                                        <input type="checkbox" value="1289" name="selected[]">
                                    </td>
                                        <td class="right">1289</td>
                                        <td class="left">Tran Tuan Ngoc</td>
                                        <td class="left">Pending</td>
                                        <td class="right">$105.00</td>
                                        <td class="left">05/04/2012</td>
                                        <td class="left">05/04/2012</td>
                                        <td class="right">[<a href="#">View</a>] [<a href=#">Edit</a>]</td>
                                 </tr>
                                 <tr>
                                        <td style="text-align: center;">
                                            <input type="checkbox" value="1288" name="selected[]"/>
                                        </td>
                                        <td class="right">1288</td>
                                        <td class="left">Nguyen Van Nam</td>
                                        <td class="left">Pending</td>
                                        <td class="right">$127.38</td>
                                        <td class="left">05/04/2012</td>
                                        <td class="left">05/04/2012</td>
                                        <td class="right">[<a href="#">View</a>] [<a href="#">Edit</a>]</td>
                                </tr>
                                <tr>
                                        <td style="text-align: center;">
                                            <input type="checkbox" value="1288" name="selected[]"/>
                                        </td>
                                        <td class="right">1288</td>
                                        <td class="left">Luu Minh</td>
                                        <td class="left">Pending</td>
                                        <td class="right">$127.38</td>
                                        <td class="left">05/04/2012</td>
                                        <td class="left">05/04/2012</td>
                                        <td class="right">[<a href="#">View</a>] [<a href="#">Edit</a>]</td>
                                </tr>
                                
                            </tr><!--End tbody-->
                        </table><!--End Table-->
                    </form><!--End form-->
                    	<div class="pagination">
                            <div class="links">
                                <b>1</b>
                                <a href="#">2</a>
                                <a href="#">3</a>
                                <a href="#">4</a>
                                <a href="#">5</a>
                                <a href="#">6</a>
                                <a href="#">7</a>
                                <a href="#">8</a>
                                <a href="#">9</a>
                                <a href="#">10</a>
                                <a href="#">11</a>
                                ....
                                <a href="#">&gt;</a>
                                <a href="#">&gt;|</a>
                            </div>
                            <div class="results">Showing 1 to 20 of 967 (49 Pages)</div>
                 </div>
         </div><!--End content-->